package string;

public class ReplaceAllDemo {
    public static void main(String[] args) {
       String line="abc123abc324feuh23189dwad";
       line = line.replaceAll("[0-9]+", "#NUMBER#");
        System.out.println(line);
    }
}
